@import "./var.scss";

@mixin linear-bg {
    background: linear-gradient(to right, #326DF9, #4C95FC);
}

// 关于公司
.about-us-page{
    padding-bottom: 15px;
    .content-us{
        background-color: #fff;
        padding: 30px 50px 20px;
    }
    .level-1-title{
        padding-bottom: 25px;
        margin-bottom: 30px;
        border-bottom: 1px dashed #ccc;
        color: #666;
        font-size: 24px;
        font-weight: bold;
        span{
            float: right;
            margin-top: 5px;
            font-size: 14px;
            font-weight: normal;
        }
    }
    .ssr{
        position: relative;
    }
    .slider,
    .empty-img{
        width: 550px;
        height: 335px;
        margin-left: 10px;
        margin-top: 5px;
    }
    .slider{
        position: absolute;
        right: 0;
        top: 0;
        img{
            width: 100%;
            height: 335px;
        }
    }
}

// 网站地图
.about-us-map{
    .content-map{
        padding: 60px 0;
        margin-bottom: 30px;
        background-color: #fff;
        box-shadow: 0 1px 5px rgba(0,0,0, .15);
    }
    .list-map{
        border-left: 1px solid #eee;
        padding: 0 80px;
    }
    .map-title{
        margin-bottom: 0;
        font-size: 20px;
        color: $mainColor;
        line-height: 26px;
        border-bottom: 1px dashed #eee;
        padding-bottom: 20px;
    }
    .map-item{
        padding: 20px 0;
        border-bottom: 1px solid #eee;
        li{
            position: relative;
            color: #666;
            line-height: 32px;
            span{
                display: inline-block;
                width: 120px;
                margin-right: 10px;
                text-align: right;
                font-weight: 600;
            }
            a{
                margin-right: 20px;
                color: #666;
                &:hover{
                    transition: all 0.1s;
                    color: $mainColor;
                    text-decoration: underline;
                }
            }
        }
        &+.map-title{
            margin-top: 50px;
        }
    }
}

// 定制游
.about-us-custom{
    .custom-banner{
        position: relative;
        width: 100%;
        height: 872px;
        background-image: url('~/public/imgs/custom/banner.jpg');
        background-position: center;
        h1,
        .tips,
        .welcome{
            position: absolute;
        }
        h1{
            top: 175px;
            width: 100%;
            font-size: 90px;
            font-family: monospace;
            font-weight: 600;
            color: #fff;
            text-align: center;
            letter-spacing: 3px;
        }
        .tips{
            top: 45px;
            right: 110px;
            padding: 0 58px 0 20px;
            height: 34px;
            line-height: 32px;
            color: #fff;
            font-size: 20px;
            letter-spacing: 2px;
            outline: 1px solid #fff;
            span{
                position: absolute;
                right: 0;
                width: 34px;
                height: 34px;
                line-height: 38px;
                color: #0693DB;
                background-color: #fff;
            }
        }
        .welcome{
            top: 400px;
            width: 100%;
            text-align: center;
            color: #fff;
            font-size: 40px;
            font-weight: normal;
            text-transform: uppercase;
            word-spacing: 5px;
            letter-spacing: 2px;
        }
        .txt{
            width: 300px;
            height: 100px;
            margin: 10px auto 0;
            font-size: 0;
            background-image: url('~/public/imgs/custom/sprite.png');
            background-position: -250px -430px;
        }
    }
    .custom-content{
        position: relative;
        padding-top: 250px;
        background-color: #ECF4FF;
        .steps{
            position: absolute;
            z-index: 9;
            top: -65px;
            width: 1120px;
            height: 180px;
            left: 50%;
            margin-left: -560px;
            padding: 40px 45px;
            background-color: #fff;
            border-radius: 10px;
            box-shadow: 0 1px 10px 2px rgba(0,0,0, .15);
        }
        .service{
            width: 220px;
            border-right: 2px solid #EDEDED;
            h3{
                margin-bottom: 5px;
                font-size: 26px;
                color: #1095FA;
            }
            p{
                margin: 0;
                font-size: 16px;
                color: #545454;
            }
        }
        .step{
            position: absolute;
            right: 45px;
            top: 40px;
            width: 810px;
            padding-left: 40px;
            .sp, .arrow{
                display: inline-block;
                width: 90px;
                text-align: center;
            }
            .arrow{
                width: 80px;
                vertical-align: 44px;
                font-size: 22px;
                color: #666;
            }
            .bg{
                width: 65px;
                height: 65px;
                margin: 0 auto;
                background-image: url('~/public/imgs/custom/sprite.png');
                background-position: -262px -163px;
                &.bg-2{
                    background-position: -377px -163px;
                }
                &.bg-3{
                    background-position: -502px -163px;
                }
                &.bg-4{
                    width: 68px;
                    background-position: -624px -163px;
                }
            }
            p{
                margin: 5px 0 0;
                font-size: 16px;
                color: #323232;
            }
            .btn{
                display: inline-block;
                width: 134px;
                height: 44px;
                margin-left: 30px;
                vertical-align: 20px;
                a{
                    display: block;
                    width: 100%;
                    height: 100%;
                    background-image: url('~/public/imgs/custom/sprite.png');
                    background-position: -267px -271px;
                    &:hover{
                        cursor: pointer;
                        opacity: 0.85;
                    }
                }
            }
        }
        .desc{
            padding: 30px 0 100px;
        }
        .dashed{
            position: absolute;
            left: 50%;
            top: 0;
            margin-left: -300px;
            width: 520px;
            height: 70px;
            border: 2px dotted #9EA4BA;
            border-bottom: none;
        }
        .context,
        .big-bg{
            display: inline-block;
        }
        .context{
            width: 550px;
            vertical-align: 75px;
            .title{
                margin: 0;
                font-size: 30px;
                color: #676769;
                letter-spacing: 3px;
            }
            .subtitle{
                margin-bottom: 80px;
                font-size: 44px;
                font-weight: bold;
                color: #3887FE;
                letter-spacing: 2px;
            }
            .qa{
                margin-bottom: -8px;
                font-size: 24px;
                color: #4A659C;
                &>span{
                    margin-right: 10px;
                    font-size: 34px;
                    font-weight: bold;
                    color: #F49D36;
                    vertical-align: -9px;
                }
            }
            .go{
                width: 490px;
                margin-top: 30px;
                line-height: 56px;
                border-radius: 28px;
                font-size: 24px;
                color: #fff;
                text-align: center;
                @include linear-bg();
            }
        }
        .big-bg{
            width: 650px;
            height: 530px;
            background-image: url('~/public/imgs/custom/sprite.png');
            background-position: -910px -65px;
        }
    }
    .custom-form{
        height: 709px;
        margin-bottom: 8px;
        background-image: url('~/public/imgs/custom/custom-bg.jpg');
        background-position: center;

        ::-moz-placeholder { color: #999 }
        ::-ms-input-placeholder { color: #999 }
        ::-webkit-input-placeholder { color: #999 }

        .desc{
            padding-top: 70px;
        }
        .tips,
        .form{
            display: inline-block;
        }
        .tips{
            width: 645px;
            h3{
                margin-bottom: 0;
                font-size: 46px;
                font-weight: bold;
                color: #fff;
                letter-spacing: 3px;
            }
            p{
                font-size: 20px;
                text-transform: uppercase;
                color: #88CAFC;
                letter-spacing: 3px;
            }
            .tp{
                width: 200px;
                height: 86px;
                padding-top: 1px;
                margin-bottom: 20px;
                border-radius: 8px;
                box-shadow: 0px 0px 10px 1px #096DF7;
                color: #fff;
                text-align: center;
                @include linear-bg();
                &:nth-of-type(1){
                    margin-top: 60px;
                }
                h5{
                    margin: 10px 0 0;
                    font-size: 22px;
                    color: #fff;
                    letter-spacing: 2px;
                }
                span{
                    font-size: 16px;
                }
            }
        }
        .form{
            position: absolute;
            width: 545px;
            padding: 50px 50px 45px;
            background-color: #fff;
            border-radius: 20px;
            .title{
                font-size: 30px;
                font-weight: bold;
                color: #3788FE;
                text-align: center;
                letter-spacing: 2px;
            }
            .fm{
                .item{
                    padding: 5px 0;
                    margin-top: 20px;
                    border: 1px solid #DCDFE6;
                    border-radius: 5px;
                    &:last-child{
                        border: none;
                    }
                    &>div{
                        display: inline-block;
                        padding: 0;
                        border: none;
                    }
                }
                .icon{
                    display: inline-block;
                    margin: 0 25px 0 20px;
                    width: 24px;
                    height: 24px;
                    vertical-align: -6px;
                    background-image: url('~/public/imgs/custom/sprite.png');
                    background-position: -283px -107px;
                    &.icon-1{
                        background-position: -393px -107px;
                    }
                    &.icon-2{
                        background-position: -523px -107px;
                    }
                    &.icon-3{
                        background-position: -647px -107px;
                    }
                }
                input{
                    width: 360px;
                    line-height: 50px;
                    border: none;
                    outline: none;
                    font-size: 16px;
                }
                .btn{
                    width: 100%;
                    line-height: 60px;
                    border-radius: 5px;
                    outline: none;
                    border: none;
                    font-size: 20px;
                    color: #fff;
                    letter-spacing: 3px;
                    @include linear-bg();
                    &:hover{
                        cursor: pointer;
                        opacity: 0.9;
                    }
                }
            }

            
        }
    }
    .custom-service{
        height: 295px;
        background-image: url('~/public/imgs/custom/bottom-bg.jpg');
        background-position: center;

        .service{
            padding: 45px 0 40px 20px;
            overflow: hidden;
        }
        .kefu,
        .tel,
        .ewm{
            float: left;
            h5{
                color: #D1E5FF;
                font-size: 20px;
                font-weight: bold;
                letter-spacing: 1px;
            }
            p{
                color: #7A7F92;
                font-size: 16px;
                letter-spacing: 1px;
                &+p{
                    margin-top: 0.4em;
                }
            }
        }
        .kefu{
            width: 310px;
            vertical-align: 30px;
            .icon{
                display: inline-block;
                width: 20px;
                height: 20px;
                background-image: url('~/public/imgs/custom/sprite.png');
                background-position: -754px -105px;
                vertical-align: -4px;
            }
            .btn{
                width: 120px;
                height: 40px;
                margin-top: 20px;
                background-image: url('~/public/imgs/custom/sprite.png');
                background-position: -265px -348px;
                &:hover{
                    cursor: pointer;
                    opacity: 0.85;
                }
            }
        }
        .tel{
            width: 460px;
            vertical-align: 30px;
        }
        .ewm{
            width: 390px;
            .item{
                float: left;
                width: 195px;
            }
            img{
                width: 110px;
                margin-top: 20px;
                border-radius: 5px;
            }
        }
    }
}